package com.qfedu.entity;

import java.util.Date;

//登陆日志
public class Loginlog {
    private int id;
    //登陆IP
    private String ip;
    //登陆服务器
    private String location;
    //用户
    private String uNa;
    //登陆时间
    private Date creatime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getuNa() {
        return uNa;
    }

    public void setuNa(String uNa) {
        this.uNa = uNa;
    }

    public Date getCreatime() {
        return creatime;
    }

    public void setCreatime(Date creatime) {
        this.creatime = creatime;
    }

    public Loginlog() {
    }

    public Loginlog(int id, String ip, String location, String uNa, Date creatime) {
        this.id = id;
        this.ip = ip;
        this.location = location;
        this.uNa = uNa;
        this.creatime = creatime;
    }

    @Override
    public String toString() {
        return "Loginlog{" +
                "id=" + id +
                ", ip='" + ip + '\'' +
                ", location='" + location + '\'' +
                ", uNa='" + uNa + '\'' +
                ", creatime=" + creatime +
                '}';
    }
}
